package demo._go;

import java.text.ParseException;
import java.util.Date;

@SuppressWarnings("unused")
public class Test {
	public static void main(String[] args) throws ParseException {
		method3();
	}

	private static void method3() throws ParseException {
		System.out.println(DateUtil.dateToString(new Date()));
		System.out.println(DateUtil.dateToString(new Date(), ""));
		System.out.println(DateUtil.dateToString(new Date(), null));
		System.out.println(DateUtil.dateToString(new Date(), "yy-MM-dd HH/mm/ss"));
		System.out.println(DateUtil.stringToDate("22-02-22 22/22/22", "yy-MM-dd HH/mm/ss"));
	}

	private static void change(User use) {
		use = new User("С��");
	}

	private static void method1() {
		User xm = new User("С��");
		xm.isVip = true;
		xm.isVip();
		change(xm);
		xm.isVip();
	}

	private static void method2() {
		SanJiaoXing s1 = new SanJiaoXing(5, 12, 13);
		System.out.println("�ܳ�" + s1.zhouChang());
		System.out.println("���" + s1.mianJi());
		s1.show();
		s1.change(0, 20.0);
		s1.change(0, 200.0);
		System.out.println(s1.getDou()[0]);
	}

}
